import Tab from "../../components/TabBar/TabBar";
import React, { memo } from "react";
import { renderRoutes } from "react-router-config";
import { Route } from "react-router";
export default memo(function Home(props) {
  const { route } = props;
  console.log(Route.routes);
  return (
    <div>
      {renderRoutes(route.routes)}
      <Tab />
    </div>
  );
});
